<!DOCTYPE html>


<head>
    <title>Gera Ano Letivo</title>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href="css/bootstrap.css" rel="stylesheet">
    <link href="css/bootstrap-responsive.css" rel="stylesheet">
    <link href="css/stilo.css" rel="stylesheet">
    <!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
    <script src="js/html5shiv.js"></script>
    <![endif]-->
</head>
<body>
    <div class="container">
        <?php include "topo.html"; ?>
        <?php include "menu.php"; ?>

        <!------------------------------------------Inicio do Conteudo------------------------------------->
        <section>
            <div id="conteudo">
                <div class="row-fluid">
                    <div class="span12">
                        <div class="titulo">
                            <p><b>Cadastrar Dias Letivos</b></p>
                        </div>
                        <div class="bordas">
                            <div>

                                <table class="table">
                                   <tr>
                                       <th>Dias</th>
                                       <th>Cadastrar</th>

                                   </tr>
                                   <?php foreach ($con as $dados) {
                                        $consulta->setData($dados->let_data);
                                        echo '             
                                            <tr>
                                                <td>' . $consulta->getData() . '</td>';
                                        if ($dados->let_status == 1) {
                                            echo '<td><a href="index.php?pg=CadastrarDia&id='.$dados->id.'-'.$idanoletivo.'" class="btn btn-success">Re-Cadastrar</a></td>';
                                        } else {
                                            echo '<td><a href="index.php?pg=CadastrarDia&id='.$dados->id.'-'.$idanoletivo.'" class="btn btn-inverse">Cadastrar</a></td>';
                                        }
                                        echo '</tr>';
                                    }?>
                                    </table>
                                
                                



                            </div>
                        </div>
                    </div>	
                </div>
            </div> <!-- Fim da linha conteudo -->
        </section><!-- ----------------------------------------fim do Conteudo----------------------------------- -->


<?php include "rodape.html"; ?>


    </div><!-- fim da div container -->    


    <!-- Arquivos Javascripts ================================================== -->
    <script src="js/jquery-1.10.2.min.js"></script>
    <script src="js/bootstrap.min.js"></script>
</body>
</html>